cmake_minimum_required(VERSION 3.12)
project(data_transfer C)

set(CMAKE_C_STANDARD 99)
link_directories("/usr/lib/x86_64-linux-gnu")
link_libraries(mysqlclient pthread z m rt atomic ssl crypto dl)

add_executable(data_transfer main.c config.c config.h configField.h fileUtil.c fileUtil.h linkQueue.c linkQueue.h)
add_executable(test test.c config.c configField.h config.h fileUtil.c fileUtil.h linkQueue.c linkQueue.h)
add_executable(testQueue testQueue.c linkQueue.c linkQueue.h)